home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1990 October
/
1990-10.d64
/
bas_beg 1
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
1KB
|
42 lines
10 s=54272:for t=s to s+24:poke t,0:next
20 poke s+3,8:poke s+5,12:poke s+6,29:poke s+24,15
30 print chr$(147)chr$(144):poke 53280,1:poke 53281,1
40 for t=1 to 8:print " [164][164][164]":next
50 print "[164][164][213][201][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]
60 [153] "totopeekpeektototototototototototototototototototototototototototototototototototo
70 print "[164][213][219][203][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]
80 [153] "topeek(NULL)right$tototototototototototototototototototototototototototototototototototo
90 print "[164][202][219][203][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]
92 [153] " mid$(NULL) tototo
94 for t=1 to 7:print " [164][164][164]":next
100 v=53248
110 n=125
120 for j=12288 to 12350:read d:poke j,d:next
130 data0,0,3,0,0,3,0,0,3,0,0,3,0,0,3,0,0,3,0,0,3,0,0,3,0,0,3,0,0,3,0,0,3,0,0,3
140 data0,0,3,0,0,251,0,3,255,0,7,255,0,7,255,0,7,255,0,3,254,0,0,248,0,0,0
150 poke v+39,5
160 poke 2040,192
170 poke v,160
180 poke v+1,n
190 poke v+21,1
200 dim fu(41),fl(41),c(41)
210 k=256:for j=41 to 1 step -1:read d,c(j):fu(j)=int(d/k):fl(j)=d-fu(j)*k:next
220 data1072,5,1204,2,1351,3,1432,4,1607,12,1804,6,2025,7,2145,5,2408,2,2703,3
225 data2864,4,3215,12,3608,6,4050,7,4291,5,4817,2,5407,3,5728,4,6430,12,7216,6
235 data8101,7,8583,5,9634,2,10814,3,11457,4,12860,12,14435,6,16203,7,17167,5
240 data19269,2,21629,3,22915,4,25721,12,28871,6,32407,7,34334,5,38539,2
250 data43258,3,45830,4,51443,12,57743,6
300 js=56320
310 jd=peek(js)
320 if jd=126 then n=n-4:if n<49 then n=49
330 if jd=125 then n=n+4:if n>209 then n=209
340 if jd=111 then gosub 400
350 if jd=110 then gosub 400:n=n-4:if n<49 then n=49
360 if jd=109 then gosub 400:n=n+4:if n>209 then n=209
370 poke v+1,n:q=int(n/4-11)
380 poke v+39,c(q)
390 goto 310
400 poke s,fl(q):poke s+1,fu(q)
410 poke s+4,64:poke s+4,65
420 return